z=1

while z !=undefined do

(

x = rootscene

z = custattributes.getdef x 1

custAttributes.delete x z

)